package com.ruoyi.vote.admin.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖品申领业务对象 vote_prize_receive
 *
 * @author 筑巢
 * @date 2023-07-17
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class VotePrizeReceiveBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 活动ID
     */
    @NotNull(message = "活动ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long aId;

    /**
     * 活动标题
     */
    private String aTitle;

    /**
     * 申领人ID
     */
    @NotNull(message = "申领人ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long mId;

    /**
     * 订单号(预留)
     */
    @NotBlank(message = "订单号(预留)不能为空", groups = { AddGroup.class, EditGroup.class })
    private String orderSn;

    /**
     * 奖品Id
     */
    private Long prizeId;

    /**
     * 奖品名
     */
    private String prizeName;
    /**
     * 奖品名
     */
    private String prizePics;
    /**
     * 奖品数量
     */
    private Integer prizeNum;

    /**
     * 申领人姓名
     */
    @NotBlank(message = "申领人姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 申领人手机号
     */
    @NotBlank(message = "申领人手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phone;

    /**
     * 省
     */
    @NotBlank(message = "省不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sheng;

    /**
     * 市
     */
    @NotBlank(message = "市不能为空", groups = { AddGroup.class, EditGroup.class })
    private String shi;

    /**
     * 区
     */
    @NotBlank(message = "区不能为空", groups = { AddGroup.class, EditGroup.class })
    private String qu;

    /**
     * 详细地址
     */
    @NotBlank(message = "详细地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;

    /** 结算时间 */
    private Date jsTime;

    /** 领奖时间 */
    private Date collectionTime;

    /**
     * 发货状态 0、待付款 1、待发货 2、待收货 3、已完成 4、已关闭
     */
    private String fhStatus;

    /**
     * 申领状态(0未领取, 1已领取)
     */
    @NotNull(message = "申领状态(0未领取, 1已领取)不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer status;

}
